package com.feature.shop.user.converter;

import java.util.List;

import org.mapstruct.Mapper;
import com.feature.core.config.MapstructTypeConvert;

import com.feature.shop.user.api.request.ShopFileUploadRecordListRequest;
import com.feature.shop.user.api.request.ShopFileUploadRecordPageRequest;
import com.feature.shop.user.api.vo.ShopFileUploadRecordVo;
import com.feature.shop.user.model.query.ShopFileUploadRecordQuery;
import com.feature.shop.user.model.entity.ShopFileUploadRecordEntity;

/***
 * 文件上传记录Converter
 */
@Mapper(uses = MapstructTypeConvert.class)
public interface ShopFileUploadRecordConverter {

    ShopFileUploadRecordVo entityToVO(ShopFileUploadRecordEntity entity);

    List<ShopFileUploadRecordVo> entityListToVO(List<ShopFileUploadRecordEntity> list);

    ShopFileUploadRecordQuery pageRequestToQuery(ShopFileUploadRecordPageRequest request);

    ShopFileUploadRecordQuery listRequestToQuery(ShopFileUploadRecordListRequest request);

}
